An insulator is a material that does not conduct electricity, and its main function is to prevent the flow of electrical current from one point to another.